#ifndef _SPINLOCK_H_
#define _SPINLOCK_H_

class Spinlock {
public:
	Spinlock();
	void Init();
	void Lock();
	void Unlock();

private:
	dword lock;
	bool intState;
};

#endif
